package br.com.consignum.negocio;

import br.com.consignum.dto.request.LoginRequestDTO;
import br.com.consignum.util.ResourceBoundleUtil;
import br.com.consignum.util.RestUtil;

public class LoginBO extends BaseBO<LoginRequestDTO> {

    private static final long serialVersionUID = 1L;

    public LoginBO() {
	super(LoginRequestDTO.class);
    }

    public boolean logar(LoginRequestDTO loginRequestDTO) {
	RestUtil.post(ResourceBoundleUtil.getUrlRest("URL_VALIDA_USUARIO_REST"), super.converterObjetoParaJson(loginRequestDTO));
	return false;
    }
}
